<?php
namespace app\videos\model;

use app\common\model\Base;

class Report extends Base
{
    protected $name = "video_report";

    public function initialize()
    {
        parent::initialize();
        if (!isset($this->modelKey) || empty($this->modelKey) || cache('modelKey') != $this->modelKey) {
            exit(json_encode(['msg'=>'非法操作！','code'=>711]));
        }
    }
}